package test;

import bean.Emp;
import service.EmpService;
import service.impl.EmpServiceImpl;

import java.util.List;

public class App {
    private static EmpService empService;
    static {
        empService=new EmpServiceImpl();
    }
    public static void a(){
        String ename=null;
        List<Emp> list= empService.find1(ename);
        for (Emp emp:list
             ) {
            System.out.println(emp);
        }
    }

    public static void main(String[] args) {
        a();
    }
}
